Skip to main content

Adding an Origin

You can have multiple origins in your service. Each origin is defined by hostname or IP address, along with additional properties which can be defined.

To add an origin to your service:

  1. Navigate to your service.
  2. On the sidebar, choose Origins.
  3. Click on the Create button.
  4. Fiil the new origin form:
    • Origin Address - Hostname of IP address of your origin server.
    • Protocol - The protocol to be used between the CDN and your origin server.
    • Path (Optional) - Path to be used when accessing the origin server. The default path is /. For example, if you set the orign path to /a/ and an end-user tries to access https://www.example.com/test.html, then the following file will be retrieved from your origin: /a/test.html.
    • S3 - Check this box if your origin server is a S3 bucket (AWS S3 bucket, Google storage bucket, etc).
  5. Click on Save

Once created, the new origin will show up in the list of origins. You can then navigate to the Domains tab, to configure a Domain Mapping for this origin.

Note: Traffic will not be routed to the new origin if domain mapping is not defined for it.